package com.ly.heart.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ly.common.annotation.Excel;
import com.ly.common.core.domain.ActCurrentTaskVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors ( chain = true )
@ApiModel ( "导入物料列表视图对象" )
public class ImportKingBomVo {

    /**
     * id
     */
    private String id;

    /**
     * 创建组织
     */
    @ApiModelProperty ( "创建组织" )
    private String createDeptId;

    /**
     * BOM版本，自动生成
     */
    @ApiModelProperty ( "BOM版本，自动生成" )
    private String bomVersion;

    /**
     * BOM简称
     */
    @ApiModelProperty ( "BOM简称" )
    private String bomAs;

    /**
     * 父项物料编码
     */
    @ApiModelProperty ( "父项物料编码" )
    private String parentMaterialCode;

    @ApiModelProperty ( "父项物料名称" )
    private String parMaterialName;

    /**
     * 父项物料单位
     */
    @ApiModelProperty ( "父项物料单位" )
    private String parentMaterialUnit;

    @ApiModelProperty ( "父项规格" )
    private String parModel;

    /**
     * BOM分类
     */
    @ApiModelProperty ( "BOM分类；\n" +
            "1：标准BOM；\n" +
            "2：配置BOM；" )
    private String bomClassify;

    /**
     * BOM分组
     */
    @ApiModelProperty ( "BOM分组" )
    private String bomGroup;

    /**
     * 是否变更中
     */
    @ApiModelProperty ( "是否变更中" )
    private String isChange;

    /**
     * 描述
     */
    @ApiModelProperty ( "描述" )
    @TableField ( "bom_desc" )
    @Excel ( name = "描述" )
    private String bomDesc;

    @ApiModelProperty ( "子项物料编码" )
    private String chilMaterialCode;

    @ApiModelProperty ( "子项物料名称" )
    private String chiMaterialName;

    @ApiModelProperty ( "子项单位名称" )
    private String chiMeteringUnitName;

    @ApiModelProperty ( "子项单位编码" )
    private String childUnitCode;

    @ApiModelProperty ( "子项规格" )
    private String model;

    @ApiModelProperty ( "当前任务信息" )
    @TableField ( exist = false )
    private ActCurrentTaskVo currentTask;

}
